<?php
// CONFIG GERAL //
if ( defined('ABSPATH') )
	require_once( ABSPATH . 'ov_config.php');
else
    require_once('../ov_config.php'); // tem que ser relativo!
	
	
// libs 
require_once(ABSPATH . LIB . '/class.site.php');
require_once(ABSPATH . LIB . '/class.overmundo.php');
require_once(ABSPATH . LIB . '/class.conecta.php');
require_once(ABSPATH . LIB . '/class.blog.php'); // especifico secao
require_once(ABSPATH . LIB . '/class.artigo.php');// especifico secao



// INIT //
require_once(ABSPATH . SHARED . '/smarty_init.php');
require_once(ABSPATH . SHARED . '/db_init.php');







$blogEditor = new Blog($meuSite->linkid, 2);
$thisArtigoInclude = new Artigo($meuSite->linkid, $blogEditor->UltimoArtigo());

$linhaTitulo = stripslashes($thisArtigoInclude->PegaTitulo());


$smarty->assign('includeObservatorio', true);
$smarty->assign('includeObservatorioTitulo', $linhaTitulo);
$smarty->assign('includeObservatorioChamada', stripslashes(nl2br($thisArtigoInclude->PegaChamada())));
$smarty->assign('includeObservatorioLink', '/blog/' . $blogEditor->PegaTituloUnico());

?>